﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DeepSpace.Geometry;

namespace DeepSpace 
{
    public class KDTree
    {
        private KDNode root;

        public KDTree()
        {
            var minPoint = new Point(Double.MaxValue, Double.MaxValue, Double.MaxValue);
            var maxPoint = new Point(Double.MinValue, Double.MinValue, Double.MinValue);
            var bounding = new BoundingBox(minPoint, maxPoint);
            root = new KDNode(bounding, KDNode.Axis.XAxis);
        }

        public void Add(Intersectable geometry)
        {
        }
    }
}
